﻿using System;
using System.ComponentModel.DataAnnotations;
using Lbb.DataAnnotations;
using Lbb.URating.Localization;

namespace Lbb.URating.DL
{
    [MetadataType(typeof(_U_Click))]
    public partial class U_Click
    {
    }
    internal class _U_Click
    {
        [Display(ResourceType = typeof(U_ClickRes), Name = "Title")]
        [NRequired]
        [NStringLength(256)]
        public string Title { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "Icon")]
        [NStringLength(256)]
        public string Icon { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "Color")]
        [NStringLength(50)]
        public string Color { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "IsRating")]
        public bool IsRating { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "MinRating")]
        public decimal? MinRating { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "MaxRating")]
        public decimal? MaxRating { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "IncrementValue")]
        public decimal? IncrementValue { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "CategoryID")]
        [NRequired]
        public Guid CategoryID { get; set; }

        [Display(ResourceType = typeof(U_ClickRes), Name = "Ordering")]
        public int? Ordering { get; set; }
    }
}